<html>
<head>
    <meta charset="UTF-8">
    <title>持续部署流程配置</title>
    <link id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
    <link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
    <script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
    <script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
    <script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
    <script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
    <script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
    <script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
    <script src="../../ffres/dict/all.js" type="text/javascript"></script>
    <link href="../../static/easyui/themes/frameless.css" rel="stylesheet" type="text/css"/>
    <a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<script type="text/javascript">
    $(function (){
        var bpmId = $.getUrlParam("bpmId");
        var bpmState = $.getUrlParam("bpmState");
        var subsCode = $.getUrlParam("subsCode");
        addTab('持续部署配置信息',"AutoBpmNodeInfoUpdate.html?&bpmId="+bpmId+"&subsCode="+subsCode);
        addTab('持续部署流程编排',"AutoBpmBaseInfoUpdateNewTab.html?bpmId="+bpmId+"&bpmState="+bpmState);
        $('#tt').tabs('select',"持续部署配置信息");
    })
    function addTab(title, url){
        if ($('#tt').tabs('exists', title)){
            $('#tt').tabs('select', title);
        } else {
            var content = '<iframe scrolling="auto" frameborder="0" src="'+url+'" style="width:100%;height:100%;"></iframe>';
            $('#tt').tabs('add',{
                title:title,
                content:content
            });
        }
    }


</script>
</head>
<body id="cc" class="easyui-layout">
<!-- 中间  内容主体 -->
<div id="center" region="center" style="overflow: hidden;" border="false">
    <div id="tt" class="easyui-tabs" fit="true" border="false" >
    </div>
</div>
</body>
</html>
